<template>
  <!-- 头部导航 -->
  <van-nav-bar title="" left-text="返回" left-arrow @click-left="onClickLeft" />
  <div>
    <van-col offset="8">
      <van-row>
        <van-icon name="success" size="150" color="#f9f900" />
      </van-row>
    </van-col>
    <van-col offset="8">
      <van-row>
        <p> </p>
        <header style="font-size:30px; text-align: center; font-weight: bold; text-shadow: 20px;">
          发布成功
        </header>
      </van-row>
    </van-col>
    <van-col offset="3">
    <van-row >
      <p style="color:#a9a3a3; text-align: center;">宝贝在这里被大力推荐，很快会有人联系你</p>
    </van-row>
  </van-col>
  </div>
  <!-- 发布成功图片 -->
  <!-- <van-image width="19rem" height="15rem" fit="cover" position="center"
    src="https://img.51miz.com/Element/00/49/14/97/f295c33c_E491497_4dc88591.png" /> -->
  <br>
  <!-- 选择按钮  返回首页or 查看发布   -->
  <van-space size="9rem">
    <van-button size="normal" round to="/" color="linear-gradient(to right, #ffffaa, #ffff37)">
     <p style="color: black;">返回首页</p> 
    </van-button>
    <van-button size="normal" round to="mytrade" color="linear-gradient(to right, #ffdc35, #d9b300)">
      查看我的发布
    </van-button>
  </van-space>
</template>
    
<script>
export default {
  // 返回上一页面
  setup() {
    const onClickLeft = () => history.back();
    return {
      onClickLeft,
    };
  },


};
</script>
    
<style scoped></style>